package com.example.carproviderdriver.service.impl.lwj;
import com.alibaba.dubbo.config.annotation.Service;
import com.example.carinterface.service.lwj.uploadPhoto;
import com.example.carproviderdriver.mapper.lwj.uploadPoto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional

public class uploadPhotoImpl implements uploadPhoto {

    @Autowired
    uploadPoto uploadPoto;
    @Override
    public boolean uploadPannlPoto(String photosName,int bussinessId ) {
        return uploadPoto.uploadPannelPoto(photosName,bussinessId);
    }

    @Override
    public boolean uploadAppead(String photosName, int bussinessId) {
        return uploadPoto.uploadAppead(photosName,bussinessId);
    }

    @Override
    public boolean lastDashboardImg(String photosName, int bussinessId) {
        return uploadPoto.lastDashboardImg(photosName,bussinessId);
    }

    @Override
    public boolean lastCarImg(String photosName, int bussinessId) {
        return uploadPoto.lastCarImg(photosName,bussinessId);
    }

    @Override
    public boolean licenseImg(String photosName, int bussinessId) {
        return uploadPoto.licenseImg(photosName,bussinessId);
    }

    @Override
    public boolean inspectAnnually(String photosName, int bussinessId) {
        return uploadPoto.inspectAnnually(photosName,bussinessId);
    }


}
